package cn.lutu.dao.mapper;


import cn.lutu.protocol.entity.Hotel;

import cn.lutu.protocol.vo.HotelVO;

import cn.lutu.protocol.vo.RoomVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface HotelsMapper extends BaseMapper<Hotel> {


//    void deleteById(Long id);

    void deleteHotelById(Long id);

//    void insertRoom(Hotel hotel);
//
//    void updateRoom(Hotel hotel);
//
//    HotelVO selectRoom(Long id);

    HotelVO selectHotel(Long id);

    List<HotelVO> selectHotelsList();

    List<HotelVO> selectHotelList();

    List<HotelVO> selectHotelRoomList();

    HotelVO selectHotelListById(Long id);

    List<RoomVO> selectRoomById(Long id);
}
